<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:s="http://jboss.com/products/seam/taglib">

	
	<h:panelGroup rendered="#{identity.loggedIn}">
		<h3>#{messages['options.workflow']}</h3>
		<br/>
		<a4j:commandLink action="/workflow/activities.xhtml">
			<s:conversationPropagation type="end"/>
			#{messages['options.pendingactivities']}
		</a4j:commandLink>
		<br/>
		<a4j:commandLink action="/workflow/startTransaction.xhtml">
			<s:conversationPropagation type="end"/>
			#{messages['options.newrequest']}
		</a4j:commandLink>
		<br/><br/>
		<rich:separator height="3px"/>
		<br/>

		<ui:remove>	
		<h3>#{messages['options.municipalityservices']}</h3>
		<br/>
		<a4j:commandLink onclick="#{rich:component('panelProcesos')}.show();">
			#{messages['options.buildpermit']}
		</a4j:commandLink>
		<br/>
		<a4j:commandLink onclick="#{rich:component('panelProcesos')}.show();">
			#{messages['options.operationpermit']}
		</a4j:commandLink>
		</ui:remove>
		<br/><br/>
		
		<a4j:commandLink action="/security/users.xhtml">
			<s:conversationPropagation type="end"/>
			Mantenimiento de usuarios
		</a4j:commandLink>
		<br/><br/>
		<rich:separator height="3px"/>
		<br/>

	</h:panelGroup>

</ui:composition>
